<template>
  <div class="descriptive-text">
    <el-form-item label="标题">
      <el-input v-model="activeData.config.label" placeholder="请输入标题" />
    </el-form-item>
    <el-divider>描述文本</el-divider>
    <div>
      <tinymce
        :id="activeData.formId"
        :key="activeData.formId"
        v-model="activeData.content"
        placeholder="请输入描述文本"
      />
    </div>
  </div>
</template>

<script>
import tinymce from '../../tinymce/index'
export default {
  name: 'ConfigItemDescText',
  components: {
    tinymce
  },
  props: ['activeData']
}
</script>

<style lang="scss" scoped>
.descriptive-text {
  ::v-deep {
    .tox .tox-tbtn {
      height: 28px;
    }
  }
}
</style>
